﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;

namespace Common.Utils
{
    public class GameGraphicsUtils
    {
        public static RenderTarget2D CloneRenderTarget(GraphicsDevice device, int numberLevels)
        {
            return new RenderTarget2D(device,
                device.PresentationParameters.BackBufferWidth,
                device.PresentationParameters.BackBufferHeight,
                false,
                device.DisplayMode.Format, DepthFormat.Depth24);
                //device.PresentationParameters.MultiSampleType,
                //device.PresentationParameters.MultiSampleQuality
            
        }
    }
}
